package com.bluefish.bltuan.service;

import java.util.List;

import com.bluefish.bltuan.module.Category;
import com.bluefish.bltuan.module.msg.Message;
import com.bluefish.bltuan.util.PageIndex;

public interface MsgService extends BasicService<Message, Integer>{

	int countQuestions();
	
	List<Message> listQuestions(PageIndex pageIndex);
	
	List<Message> listQuestions(int number);

	List<Message> listQuestions(PageIndex pageIndex, Category currentCity);

	List<Message> listTransfers(PageIndex pageIndex, Category currentCity);
}
